package com.rxnetwork.sample.login;

import com.rxnetwork.sample.mvp.BasePresenter;
import com.rxnetwork.sample.mvp.BaseView;

public class LoginContract {
    interface MyView extends BaseView {
        void loginSuccess(Object user);

        void loginFailed(String message);
    }

    interface Presenter extends BasePresenter<MyView> {
        void login(String userName, String password);
    }
}
